<?php
App::import('Vendor', 'Smarty', array('file' => 'smarty'.DS.'libs'.DS.'Smarty.class.php'));
class SmartyComponent extends Smarty {
        var $controller;
        var $template_dir;
        var $compile_dir;
        var $cache_dir;

        function __construct() {
                parent::__construct();
                $this->template_dir = VIEWS;
                $this->compile_dir =  TMP . 'smarty' . DS . 'compile' . DS;
                $this->cache_dir = TMP . 'smarty' . DS . 'cache' . DS;
                $this->left_delimiter = '{';
                $this->right_delimiter = '}';
        }
}
?>

